package teste;

public class Node extends Object {

	public int value;

	public Node next;

	public Node prev;

	public Node(int a) {
		value = a; 
		next = null;
		prev = null;
	}

	public Node() {
		next = null;
		prev = null;
		value = 0; // sets value to zero if no value is explicitly given
	}

}